/*************************************************************************
	> File Name: CompareToTest.java
	> Author: 
	> Mail: 
	> Created Time: 2018年03月25日 星期日 21时21分33秒
 ************************************************************************/

public class CompareToTest{
    public static void main(String []args){
        String s1 = new String("the first string");
        String s2 = "the second string";
        System.out.println("The concat result is :"+s1.concat(s2));

        int temp =  s1.compareTo(s2);
        System.out.println("The comparison result is :"+ temp) ;
    }
}
